package com.sikaryofficial.workbench.domain.mapping;

import com.sikaryofficial.system.api.domain.SysDictData;
import com.sikaryofficial.workbench.domain.dto.resp.SysDictDataDTO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface DictMapping {

    DictMapping INSTANCE = Mappers.getMapper(DictMapping.class);

    SysDictDataDTO convertToResp(SysDictData sysDictData);

    List<SysDictDataDTO> convertToResp(List<SysDictData> sysDictDataList);
}
